package cn.edu.sdjzu.knoverse.model.entity.kg;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.neo4j.core.schema.Node;
import org.springframework.data.neo4j.core.schema.Property;

@Data
@EqualsAndHashCode(callSuper = true)
@Node(primaryLabel = "Course", labels = {"BaseNode"})
public class CourseNode extends BaseNode {
    
    /**
     * 课程编码
     */
    @Property("code")
    private String code;
    
    /**
     * 课程学分
     */
    @Property("credit")
    private Double credit;

    /**
     * 课程状态
     */
    @Property("status")
    private Integer status;
} 